package com.yunduo.common.RetunData.statuscode.impl;

import com.yunduo.common.RetunData.statuscode.ResultStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 请求返回结果状态类
 */
@AllArgsConstructor
@Getter
public enum  FileCode implements ResultStatus {

    UPLOAD_FILE_ERROR(0,"上传失败"),
    UPLOAD_CREATE(1,"上传成功"),
    DELETE_FILE_ERROR(0,"文件删除失败"),
    DELETE_CREATE(1,"文件删除成功"),
    FILE_IS_EXIST(500,"文件已存在");

    private Integer code;

    private String info;
}
